-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PREOPS-5505 Restructure schedview snapshot dashboard code #103
Conversation
emanehab99
commented
Aug 27, 2024
- Reorganise the dashoboard code into separate modules
- Rename modules to be more comprehensive
- Add more comments to explain how the dashboard is updated using Panel
- Clean code and amend docstrings to follow development guidelines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had just a few minor suggestions, and isort/ruff seems to be complaining. Go ahead and merge after addressing these.
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
"""schedview docstring""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put an actual docstring here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mind if you provide the docstring @ehneilsen ? I think it will be more comprehensive and clear in your own words
schedview/app/scheduler_dashboard/unrestricted_scheduler_snapshot_dashboard.py
Outdated
Show resolved
Hide resolved
@ehneilsen I can see that the isort/ruff issues are all in the jupyter notebooks. They seem to be there in previous PR's as well. |
The tests were passing before but now |
There were some changes in dependencies (rubin_scheduler) that required updates to schedview. These are now merged onto main, so try rebasing your changes and see if the tests pass. Changes to main should also have made ruff happy. If things pass after rebasing, go ahead and merge. |
2b54052
to
983f261
Compare
Ruff tests pass now but the unit tests are still failing. They pass locally though! |
There've been recent changes to rubin_scheduler that required changes to schedview. If you update your local rubin_scheduler and rebase your changes to schedview, it should work and you should be testing with the same versions github is. |
1543901
to
a05678b
Compare
…laced with isinstance()